package com.ubtechinc.cruzr.libai.honglauncher.db;

import android.arch.persistence.room.Dao;
import android.arch.persistence.room.Insert;
import android.arch.persistence.room.OnConflictStrategy;
import android.arch.persistence.room.Query;
import android.arch.persistence.room.Update;

import java.util.List;

import io.reactivex.Flowable;

@Dao
public interface AppPictureDao {
    @Query("SELECT * FROM app_info")
    Flowable<List<AppPictureEntity>> getAllAppPicture();

    @Insert
    void insertAll(List<AppPictureEntity> filters);

    @Query("DELETE FROM app_info")
    public void deleteAll();
}
